package ooday04;

public class Cat extends Animal implements CatchMouse,Capture{
    public Cat(String name, String color, int age) {
        super(name, color, age);
    }

    @Override
    public void play() {
        System.out.println("猫喜欢玩球");
    }

    @Override
    public void catchMouse() {
        System.out.println("猫抓老鼠");
    }

    @Override
    public void capture() {
        System.out.println("猫会捕猎");
    }
}
